package com.situ.water_system.mapper;

import com.situ.water_system.pojo.SyDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
@Mapper
public interface SyDeptMapper extends BaseMapper<SyDept> {
    @Select("select * from be_flow")
    public  List<Map> query_flow();
    @Update("update be_flow set DeptID=#{deptid} where id=#{id} ")
    public void update_flow(int id,int deptid);
}
